﻿@model List<WebIG.Data.Feed>
@{
    ViewBag.Title = "Home Page";
    ViewData["type"] = 0;
}

@Html.Partial("_Feeds", @Model, this.ViewData)

@section scripts
{
    <script type="text/javascript">
        $("#btnLoadMore").click(function () {
            $("#btnLoadMore img").show();
            loadMore("@Url.Action("LoadMore")", { type: "@ViewData["type"]" }, function () {
                $("#btnLoadMore img").hide();
            });
        });
    </script>
}
